package com.pku.control;

/**
 * [磁盘]
 * {"id": 46, "mac_code": "b89a2a6a20dd", "disk_name": "INTEL SSDPEKNW010T8", "disk_parts": "C:\\D:\\",
 * "disk_total_size": "561.86", "disk_used": "137.98", "disk_free": "423.89", "disk_use_percent": "24.60",
 * "io_read_count": "4278620", "io_write_count": "6024467", "io_read_size": "117552.75",
 * "io_write_size": "150123.59", "io_read_time": "3558", "io_write_time": "2644"}
 * [说明]
 * id:主键、自增，基本用不上
 * mac_code:mac号码(机器的唯一码),整个系统全靠此码进行关联
 * disk_name:磁盘名称（厂商）
 * disk_parts:磁盘分区信息
 * disk_total_size:磁盘总量大小 单位:G
 * disk_used:磁盘已用量 单位:G
 * disk_free:磁盘剩余量 单位:G
 * disk_use_percent:磁盘使用率
 * io_read_count:总共读的次数
 * io_write_count:总共写的次数
 * io_read_size:总读的数据大小 单位:M
 * io_write_size:总写的数据大小 单位:M
 * io_read_time:总读的耗时 单位:秒
 * io_write_time:总写的耗时 单位:秒
 */
public class DiskInfo {
    private int id;
    private String mac_code;
    private String disk_name;
    private String disk_parts;
    private String disk_total_size;
    private String disk_used;
    private String disk_free;
    private String disk_use_percent;
    private String io_read_count;
    private String io_write_count;
    private String io_read_size;
    private String io_write_size;
    private String io_read_time;
    private String io_write_time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMac_code() {
        return mac_code;
    }

    public void setMac_code(String mac_code) {
        this.mac_code = mac_code;
    }

    public String getDisk_name() {
        return disk_name;
    }

    public void setDisk_name(String disk_name) {
        this.disk_name = disk_name;
    }

    public String getDisk_parts() {
        return disk_parts;
    }

    public void setDisk_parts(String disk_parts) {
        this.disk_parts = disk_parts;
    }

    public String getDisk_total_size() {
        return disk_total_size;
    }

    public void setDisk_total_size(String disk_total_size) {
        this.disk_total_size = disk_total_size;
    }

    public String getDisk_used() {
        return disk_used;
    }

    public void setDisk_used(String disk_used) {
        this.disk_used = disk_used;
    }

    public String getDisk_free() {
        return disk_free;
    }

    public void setDisk_free(String disk_free) {
        this.disk_free = disk_free;
    }

    public String getDisk_use_percent() {
        return disk_use_percent;
    }

    public void setDisk_use_percent(String disk_use_percent) {
        this.disk_use_percent = disk_use_percent;
    }

    public String getIo_read_count() {
        return io_read_count;
    }

    public void setIo_read_count(String io_read_count) {
        this.io_read_count = io_read_count;
    }

    public String getIo_write_count() {
        return io_write_count;
    }

    public void setIo_write_count(String io_write_count) {
        this.io_write_count = io_write_count;
    }

    public String getIo_read_size() {
        return io_read_size;
    }

    public void setIo_read_size(String io_read_size) {
        this.io_read_size = io_read_size;
    }

    public String getIo_write_size() {
        return io_write_size;
    }

    public void setIo_write_size(String io_write_size) {
        this.io_write_size = io_write_size;
    }

    public String getIo_read_time() {
        return io_read_time;
    }

    public void setIo_read_time(String io_read_time) {
        this.io_read_time = io_read_time;
    }

    public String getIo_write_time() {
        return io_write_time;
    }

    public void setIo_write_time(String io_write_time) {
        this.io_write_time = io_write_time;
    }
}
